package com.ruoyi.buss.report.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.buss.report.mapper.ReportKhqsfxWgLsbMapper;
import com.ruoyi.buss.report.domain.ReportKhqsfxWgLsb;
import com.ruoyi.buss.report.service.IReportKhqsfxWgLsbService;

/**
 * 客户趋势分析Service业务层处理
 * 
 * @author sxy
 * @date 2021-07-16
 */
@Service
public class ReportKhqsfxWgLsbServiceImpl implements IReportKhqsfxWgLsbService 
{
    @Autowired
    private ReportKhqsfxWgLsbMapper reportKhqsfxWgLsbMapper;

    /**
     * 查询客户趋势分析
     * 
     * @param sjrq 客户趋势分析ID
     * @return 客户趋势分析
     */
    @Override
    public ReportKhqsfxWgLsb selectReportKhqsfxWgLsbById(String sjrq)
    {
        return reportKhqsfxWgLsbMapper.selectReportKhqsfxWgLsbById(sjrq);
    }

    /**
     * 查询客户趋势分析列表
     * 
     * @param reportKhqsfxWgLsb 客户趋势分析
     * @return 客户趋势分析
     */
    @Override
    public List<ReportKhqsfxWgLsb> selectReportKhqsfxWgLsbList(ReportKhqsfxWgLsb reportKhqsfxWgLsb)
    {
        return reportKhqsfxWgLsbMapper.selectReportKhqsfxWgLsbList(reportKhqsfxWgLsb);
    }

    /**
     * 新增客户趋势分析
     * 
     * @param reportKhqsfxWgLsb 客户趋势分析
     * @return 结果
     */
    @Override
    public int insertReportKhqsfxWgLsb(ReportKhqsfxWgLsb reportKhqsfxWgLsb)
    {
        return reportKhqsfxWgLsbMapper.insertReportKhqsfxWgLsb(reportKhqsfxWgLsb);
    }

    /**
     * 修改客户趋势分析
     * 
     * @param reportKhqsfxWgLsb 客户趋势分析
     * @return 结果
     */
    @Override
    public int updateReportKhqsfxWgLsb(ReportKhqsfxWgLsb reportKhqsfxWgLsb)
    {
        return reportKhqsfxWgLsbMapper.updateReportKhqsfxWgLsb(reportKhqsfxWgLsb);
    }

    /**
     * 批量删除客户趋势分析
     * 
     * @param sjrqs 需要删除的客户趋势分析ID
     * @return 结果
     */
    @Override
    public int deleteReportKhqsfxWgLsbByIds(String[] sjrqs)
    {
        return reportKhqsfxWgLsbMapper.deleteReportKhqsfxWgLsbByIds(sjrqs);
    }

    /**
     * 删除客户趋势分析信息
     * 
     * @param sjrq 客户趋势分析ID
     * @return 结果
     */
    @Override
    public int deleteReportKhqsfxWgLsbById(String sjrq)
    {
        return reportKhqsfxWgLsbMapper.deleteReportKhqsfxWgLsbById(sjrq);
    }
}
